package com.xiyoufang.club.utils;

public class ClubIntegralInfo
{
  private Integer userId;
  private Integer roomId;
  private Integer clubId;
  private Integer beginIntegral;
  private Integer totalIntegral;
  private Integer remainIntegral;
  private Integer tableNum;
  private Double totalCs;
  
  public void setUserId(Integer userId)
  {
    this.userId = userId;
  }
  
  public void setRoomId(Integer roomId)
  {
    this.roomId = roomId;
  }
  
  public void setClubId(Integer clubId)
  {
    this.clubId = clubId;
  }
  
  public void setBeginIntegral(Integer beginIntegral)
  {
    this.beginIntegral = beginIntegral;
  }
  
  public void setTotalIntegral(Integer totalIntegral)
  {
    this.totalIntegral = totalIntegral;
  }
  
  public void setRemainIntegral(Integer remainIntegral)
  {
    this.remainIntegral = remainIntegral;
  }
  
  public void setTableNum(Integer tableNum)
  {
    this.tableNum = tableNum;
  }
  
  public void setTotalCs(Double totalCs)
  {
    this.totalCs = totalCs;
  }
  
  public boolean equals(Object o)
  {
    if (o == this) {
      return true;
    }
    if (!(o instanceof ClubIntegralInfo)) {
      return false;
    }
    ClubIntegralInfo other = (ClubIntegralInfo)o;
    if (!other.canEqual(this)) {
      return false;
    }
    Object this$userId = getUserId();Object other$userId = other.getUserId();
    if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) {
      return false;
    }
    Object this$roomId = getRoomId();Object other$roomId = other.getRoomId();
    if (this$roomId == null ? other$roomId != null : !this$roomId.equals(other$roomId)) {
      return false;
    }
    Object this$clubId = getClubId();Object other$clubId = other.getClubId();
    if (this$clubId == null ? other$clubId != null : !this$clubId.equals(other$clubId)) {
      return false;
    }
    Object this$beginIntegral = getBeginIntegral();Object other$beginIntegral = other.getBeginIntegral();
    if (this$beginIntegral == null ? other$beginIntegral != null : !this$beginIntegral.equals(other$beginIntegral)) {
      return false;
    }
    Object this$totalIntegral = getTotalIntegral();Object other$totalIntegral = other.getTotalIntegral();
    if (this$totalIntegral == null ? other$totalIntegral != null : !this$totalIntegral.equals(other$totalIntegral)) {
      return false;
    }
    Object this$remainIntegral = getRemainIntegral();Object other$remainIntegral = other.getRemainIntegral();
    if (this$remainIntegral == null ? other$remainIntegral != null : !this$remainIntegral.equals(other$remainIntegral)) {
      return false;
    }
    Object this$tableNum = getTableNum();Object other$tableNum = other.getTableNum();
    if (this$tableNum == null ? other$tableNum != null : !this$tableNum.equals(other$tableNum)) {
      return false;
    }
    Object this$totalCs = getTotalCs();Object other$totalCs = other.getTotalCs();return this$totalCs == null ? other$totalCs == null : this$totalCs.equals(other$totalCs);
  }
  
  protected boolean canEqual(Object other)
  {
    return other instanceof ClubIntegralInfo;
  }
  
  public int hashCode()
  {
    int PRIME = 59;int result = 1;Object $userId = getUserId();result = result * 59 + ($userId == null ? 43 : $userId.hashCode());Object $roomId = getRoomId();result = result * 59 + ($roomId == null ? 43 : $roomId.hashCode());Object $clubId = getClubId();result = result * 59 + ($clubId == null ? 43 : $clubId.hashCode());Object $beginIntegral = getBeginIntegral();result = result * 59 + ($beginIntegral == null ? 43 : $beginIntegral.hashCode());Object $totalIntegral = getTotalIntegral();result = result * 59 + ($totalIntegral == null ? 43 : $totalIntegral.hashCode());Object $remainIntegral = getRemainIntegral();result = result * 59 + ($remainIntegral == null ? 43 : $remainIntegral.hashCode());Object $tableNum = getTableNum();result = result * 59 + ($tableNum == null ? 43 : $tableNum.hashCode());Object $totalCs = getTotalCs();result = result * 59 + ($totalCs == null ? 43 : $totalCs.hashCode());return result;
  }
  
  public String toString()
  {
    return "ClubIntegralInfo(userId=" + getUserId() + ", roomId=" + getRoomId() + ", clubId=" + getClubId() + ", beginIntegral=" + getBeginIntegral() + ", totalIntegral=" + getTotalIntegral() + ", remainIntegral=" + getRemainIntegral() + ", tableNum=" + getTableNum() + ", totalCs=" + getTotalCs() + ")";
  }
  
  public Integer getUserId()
  {
    return this.userId;
  }
  
  public Integer getRoomId()
  {
    return this.roomId;
  }
  
  public Integer getClubId()
  {
    return this.clubId;
  }
  
  public Integer getBeginIntegral()
  {
    return this.beginIntegral;
  }
  
  public Integer getTotalIntegral()
  {
    return this.totalIntegral;
  }
  
  public Integer getRemainIntegral()
  {
    return this.remainIntegral;
  }
  
  public Integer getTableNum()
  {
    return this.tableNum;
  }
  
  public Double getTotalCs()
  {
    return this.totalCs;
  }
  
  public ClubIntegralInfo()
  {
    this.totalCs = Double.valueOf(0.0D);
  }
  
  public ClubIntegralInfo(Integer userId, Integer beginIntegral, Integer totalIntegral)
  {
    this.userId = userId;
    this.beginIntegral = beginIntegral;
    this.totalIntegral = totalIntegral;
  }
}
